module mips_tb();
	reg clk_tb,rst_tb;

	mips_Hmini launch(.clk(clk_tb),
			  .rst_all(rst_tb)
			  );
  
	initial begin
    		rst_tb=1;
    		clk_tb=1;
    		#1 rst_tb=0;
    		#2 rst_tb=1;
    		$readmemh("code.txt",launch.MAIN.IFU.im);
	    	#1000 $stop;
  	end

	always	#30 clk_tb=~clk_tb;

endmodule

